<?php

/**
 * author: heimuya
 */

namespace Admin\Model;

use Think\Model\ViewModel;

class BugViewModel extends ViewModel {

    protected $viewFields = array(
        'bug' => array('id', 'title', 'image', 'type', 'time', 'visible', '_as' => 'c', '_type' => 'left'),
        'projectType' => array('name' => 'tname', '_as' => 'ct', '_on' => 'ct.id=c.type')
    );

}

